package com.xian.im.modules.im.core;

import com.xian.im.modules.im.controller.model.login.LoginReq;
import com.xian.im.modules.im.controller.model.login.OrgLoginReq;

/**
 * @program: xian-code
 * @description:
 * @author: liru.xian
 * @create: 2021-01-21 19:19
 **/
public interface LoginService {

    /**
     *
     * @param loginReq
     * @return
     */
    Boolean login(LoginReq loginReq);

    /**
     *
     * @param loginReq
     * @return
     */
    Boolean login(OrgLoginReq loginReq);
}
